# coding:utf-8

import tornado
from tornado import gen
from tornado.web import HTTPError

from handler.api.base import BaseHandler
# from data.collections import User


class ProfileHandler(BaseHandler):
    def data_received(self, chunk):
        pass

    def get(self):
        self.write_json(user.to_dict())

class AvatarUploadHandler(BaseHandler):
    def data_received(self, chunk):
        pass


    def post(self):
        data_json={"name":"wewewew","xie":"111111"}
        self.write_json(data_json)


